<?php 
require('./lib/init.php');
//检测是否登录,有操作权限
tiao();

$art_id = $_GET['art_id'];

$sql = "delete from art where art_id = '$art_id'";
if (!mQuery($sql)) {
	error('文章删除失败');
} else {
	//succ('文章删除成功');
	header('Location:artlist.php');
}


 ?>